A federal prison is a type of prison facility that is operated by the government of a country, specifically the federal government. It is used to house individuals who have been convicted of federal crimes, which are offenses that are against federal laws or involve federal agencies.